package com.heima.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("商品参数模型")
@NoArgsConstructor
@AllArgsConstructor
public class SkuDto {
    @ApiModelProperty("商品id")
    private Long skuId;
    @ApiModelProperty("商品名称")
    private String skuName;
    @ApiModelProperty("商品图片")
    private String skuImage;
    @ApiModelProperty("商品价格")
    private Integer price;
    @ApiModelProperty("商品类型id")
    private Long classId;
    @ApiModelProperty("商品规格")
    private String unit;
    @ApiModelProperty("商品品牌名称")
    private String brandName;
}
